package com.hnu.web;

import java.util.Map;

import com.opensymphony.xwork2.ActionSupport;

public class BaseAction extends ActionSupport implements
		org.apache.struts2.interceptor.SessionAware {
	private static final long serialVersionUID = -5787893797931587081L;
	protected ServiceLocator servLocator;
	protected Map<String, Object> session;

	public ServiceLocator getServLocator() {
		return servLocator;
	}

	public void setServLocator(ServiceLocator servLocator) {
		this.servLocator = servLocator;
		this.init();
	}

	protected void init() {
	}

	public void setSession(Map<String, Object> session) {
		this.session = session;
	}
}
